#!/usr/bin/env python
# -*- encoding: utf-8 -*-

import StringIO

s = """
Python is a cool little language.
It is well designed, compact, easy to learn and fun to program in.
Python strongly encourages the programmer to program in an OO-way,
but does not require it.
"""

f = StringIO.StringIO(s)			# 문자열 객체에서 파일 객체 얻어 내기
print f.read().upper()				# 대문자 변환

